package com.kmsoft.provider.facade.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("km-provider")
public interface ProviderApi {

    @GetMapping("/call/{name}")
    String call(@PathVariable(value = "name") String name);
}
